﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wallpaper.Models.Entities
{
    public class RoleMenu : BaseEntity
    {
        public string RoleId { get; set; }
        public string MenuId { get; set; }

        public bool IsDeleted { get; set; }

        // 导航属性
        public virtual Role Role { get; set; }
        public virtual Menu Menu { get; set; }
    }
}
